<?php
/**
 * @file $HeadURL: forumthread.php $
 * @brief 
 */
namespace haibao\cms\model\data;

class ForumThread extends Base {
	public $tid;
	public $fid;
	public $posttableid;
	public $typeid;
	public $sortid;
	public $readperm;
	public $price;
	Public $author;
	public $authorid;
	public $subject;
	public $dateline;
	public $lastpost;
	public $lastposter;
	public $views;
	public $replies;
	public $displayorder;
	public $highlight;
	public $digest;
	public $rate;
	public $special;
	public $attachment;
	public $moderated;
	public $closed;
	public $stickreply;
	public $recommends;
	public $recommend_add;
	public $recommend_sub;
	public $heats;
	public $status;
	public $isgroup;
	public $favtimes;
	public $sharetimes;
	public $stamp;
	public $icon;
	public $pushedaid;
	public $cover;
	public $replycredit;
	public $relatebytag;
	public $maxposition;
	public $bgcolor;
	public $comments;
	public $is_popular;
	public $hottime;
	public function __construct(){
		parent::__construct ();
		$this->setColumnName('Id', 'tid');
		$this->intField('fid', 'fid',true);
		$this->intField('posttableid', 'posttableid',true);
		$this->intField('typeid', 'typeid',true);
		$this->intField('sortid', 'sortid',true);
		$this->intField('readperm', 'readperm',true);
		$this->stringField('author', 'author',true);
		$this->intField('authorid', 'authorid',true);
		$this->stringField('subject', 'subject',true);
		$this->intField('dateline', 'dateline',true);
		$this->stringField('lastpost', 'lastpost',true);
		$this->intField('views', 'views',true);
		$this->intField('replies', 'replies',true);
		$this->intField('displayorder', 'displayorder',true);
		$this->intField('highlight', 'highlight',true);
		$this->intField('digest', 'digest',true);
		$this->intField('special', 'special',true);
		$this->intField('attachment', 'attachment',true);
		$this->intField('moderated', 'moderated',true);
		$this->intField('closed', 'closed',true);
		$this->intField('stickreply', 'stickreply',true);
		$this->intField('recommends', 'recommends',true);
		$this->intField('recommend_add', 'recommend_add',true);
		$this->intField('recommend_sub', 'recommend_sub',true);
		$this->intField('heats', 'heats',true);
		$this->intField('status', 'status',true);
		$this->intField('isgroup', 'isgroup',true);
		$this->intField('favtimes', 'favtimes',true);
		$this->intField('sharetimes', 'sharetimes',true);
		$this->intField('stamp', 'stamp',true);
		$this->intField('icon', 'icon',true);
		$this->intField('pushedaid', 'pushedaid',true);
		$this->intField('cover', 'cover',true);
		$this->intField('replycredit', 'replycredit',true);
		$this->stringField('relatebytag', 'relatebytag',true);
		$this->intField('maxposition', 'maxposition',true);
		$this->intField('bgcolor', 'bgcolor',true);
		$this->intField('comments', 'comments',true);
		$this->intField('is_popular', 'is_popular');
		$this->intField('hottime', 'hottime');
		
		$this->setTableName ( 'hb_forum_thread' );
	}
}